package com.hello.lambda;

public class LambdaTest2 {


    public static void main(String[] args) {
        ILove love = a -> System.out.println("I love Lamdba2---->"+a);
        love.lamdba(100);

    }
}

interface ILove{
    void lamdba(int a);
}

class love implements ILove{

    @Override
    public void lamdba(int a) {
        System.out.println("I love Lamdba---->"+a);
    }
}

